package com.example.swagger;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author guoQ.z
 * @date 2020/12/17 13:37
 * TODO
 */
@Slf4j
@SpringBootApplication
public class SwaggerApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SwaggerApplication.class);
        log.info(" \n SwaggerApplication running susses: server.port = {}", run.getEnvironment().getProperty("server.port"));
    }
}
